#ifdef RENDER_OPENGL
    #include "framework.h"
    #include <QtWidgets/QApplication>
#endif
#include <Common\ZFrameworks.h>
#include <MachineLearning\DPTest.h>
#include <MachineLearning\JointBoostingTest.h>

int main(int argc, char *argv[])
{
    ZFramework::ZFrameworks frameworks;
    frameworks.init();
#ifdef RENDER_OPENGL
	QApplication a(argc, argv);
    QSettings setting;
    Framework w(&setting);
	w.show();
	return a.exec();
#else
    //ZFramework::MachineLearningTest::DPTest::runTest4();
    //ZFramework::MachineLearningTest::DPTest::runTests("E:\\work\\LearningAlgorithms\\data\\fw_32_32\\tests.xml");
    //ZFramework::MachineLearningTest::JBTest::generateTestData();
    //ZFramework::MachineLearningTest::JBTest::generatePredictLabel();
    //ZFramework::MachineLearningTest::JBTest::test1();
    ZFramework::MachineLearningTest::JBTest::run("E:\\work\\LearningAlgorithms\\ZFramework\\ZFramework\\src\\MachineLearning/jointboosting_test.xml");
    return 0;
#endif
    //return 0;
}
